If you do this sort of thing more than once ever, look at the feedgnuplot tool (http://github.com/dkogan/feedgnuplot). It'll make your life easier
(The nice feature of feedgnuplot of course is that you can _also_ render the plots to images, which youplot can't)
But you could feed them through `textimg`[1] to generate PNGs.