module.exports = {
    all: {
        options: {
            format: 'json_flat',
            pretty: true
        },
        files: [{ 
            dest: 'dist/javascript.json', 
            src: [
            'src/javascript/lib/jquery.js', 
            'src/javascript/lib/highstock/highstock.js', 
            'src/javascript/lib/moment/moment.js', 
            'src/javascript/lib/**/*.js',
            'src/javascript/autogenerated/idd_codes.js',
            'src/javascript/autogenerated/texts.js',
            'src/javascript/autogenerated/*.js',
            'src/javascript/binary/base/*.js',
            'src/javascript/binary/**/*.js'
            ]
        },
        { 
            dest: 'dist/lib.json', 
            src: [
            'src/javascript/lib/jquery.js', 
            'src/javascript/lib/highstock/highstock.js', 
            'src/javascript/lib/moment/moment.js', 
            'src/javascript/lib/**/*.js'
            ]
        },
        { 
            dest: 'dist/binary.json', src: [
            'src/javascript/binary/base/*.js',
            'src/javascript/binary/**/*.js'
            ] 
        },
        {
            dest: 'dist/data.json', src: [
            'src/javascript/autogenerated/idd_codes.js',
            'src/javascript/autogenerated/texts.js',
            'src/javascript/autogenerated/*.js'
            ]
        }]
    }
};

@@ -287,32 +287,99 @@
 highstock.js', %0A
+            'src/javascript/lib/highstock/highstock-exporting.js',%0A
             'src

Move highstock exporting before export-csv plugin