Index: /trunk/tools/czartool/Plotter.pm
===================================================================
--- /trunk/tools/czartool/Plotter.pm	(revision 29709)
+++ /trunk/tools/czartool/Plotter.pm	(revision 29710)
@@ -391,7 +391,8 @@
     # loop through stages array so that they are ordered properly (not maintained in hash)
     foreach my $stage (@allStages) {
+
+        if(!$gnuplotFiles->{$stage}) {next;}
         if (!$firstIn) {print GP ",";}
 
-        if(!$gnuplotFiles->{$stage}) {next;}
         # for single stage plots, show pending/processed/faults
         if ($numOfPlots == 1) {
