Maybe some script-fu like this will do it for you? http://users.softlab.ntua.gr/~ttsiod/gnuplotStreaming.html
View entire thread