diff --git a/libs/jqplot/build_minified_script.sh b/libs/jqplot/build_minified_script.sh
index 5a0efd25dfaf94a78601e3a2685eb2447b973c96..38584f136d3710bd05cd183d3650bbfafb3be5b2 100755
--- a/libs/jqplot/build_minified_script.sh
+++ b/libs/jqplot/build_minified_script.sh
@@ -1,7 +1,25 @@
 # build jqplot-custom.min.js
 # the yuicompressor needs to be set up in piwik/js (see piwik/js/README.md)
 
-find . -name 'jqplot.*.js' -print|xargs cat > jqplot-custom.min.js-temp
+cat jqplot.core.js > jqplot-custom.min.js-temp 
+cat jqplot.linearAxisRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.axisTickRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.axisLabelRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.tableLegendRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.lineRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.linePattern.js >> jqplot-custom.min.js-temp
+cat jqplot.markerRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.divTitleRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.canvasGridRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.shadowRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.shapeRenderer.js >> jqplot-custom.min.js-temp
+cat jqplot.sprintf.js >> jqplot-custom.min.js-temp
+cat jqplot.themeEngine.js >> jqplot-custom.min.js-temp
+cat plugins/jqplot.pieRenderer.js >> jqplot-custom.min.js-temp
+cat plugins/jqplot.barRenderer.js >> jqplot-custom.min.js-temp
+cat plugins/jqplot.categoryAxisRenderer.js >> jqplot-custom.min.js-temp
+cat plugins/jqplot.canvasTextRenderer.js >> jqplot-custom.min.js-temp
+cat plugins/jqplot.canvasAxisTickRenderer.js >> jqplot-custom.min.js-temp
 
 java -jar ../../js/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar --type js --line-break 1000 jqplot-custom.min.js-temp > jqplot-custom.min.js