diff --git a/plugins/CoreHome/templates/jqplot.js b/plugins/CoreHome/templates/jqplot.js
index cd8116eea025f6e8b88b8823bcda435153e70261..c2220c034d4b0dba7cca0fb6a0c040806555a2fa 100644
--- a/plugins/CoreHome/templates/jqplot.js
+++ b/plugins/CoreHome/templates/jqplot.js
@@ -390,8 +390,10 @@ JQPlot.prototype = {
 		};
 		
 		// pie charts have a different data format
-		for (var i = 0; i < this.data[0].length; i++) {
-			this.data[0][i] = [this.params.axes.xaxis.ticks[i], this.data[0][i]];
+		if (!(this.data[0][0] instanceof Array)) { // check if already in different format
+			for (var i = 0; i < this.data[0].length; i++) {
+				this.data[0][i] = [this.params.axes.xaxis.ticks[i], this.data[0][i]];
+			}
 		}
 	},
 	
@@ -1411,4 +1413,4 @@ RowEvolutionSeriesToggle.prototype.beforeReplot = function() {
 	$.jqplot.preInitHooks.push($.jqplot.PieLegend.init);
 	$.jqplot.postDrawHooks.push($.jqplot.PieLegend.postDraw);
 	
-})(jQuery);
\ No newline at end of file
+})(jQuery);