module.exports = function(grunt) {
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    concat: {
      options: {
        separator: ';'
      },
      dist: {
        src: 'src/*.js',
        dest: 'dist/m.jquery.js'
      }
    }
  });
  
  grunt.loadNpmTasks('grunt-contrib-concat');
  
  // Run tests?
  grunt.registerTask('default', ['concat']);
  
  
  grunt.registerTask('build', 'Build the plugin files.', ['concat']);
};
@@ -95,16 +95,41 @@
 json'),%0A
+    %0A    // Concat task.%0A
     conc
@@ -144,15 +144,12 @@
     
-options
+dist
 : %7B%0A
@@ -161,89 +161,180 @@
    s
-eparator: ';'%0A      %7D,%0A      dist: %7B%0A        src: 'src/*.js',%0A        dest: 'dist
+rc: 'src/*.js',%0A        dest: 'dist/m.jquery-patched.js'%0A      %7D%0A    %7D,%0A    %0A    // Copy task.%0A    copy: %7B%0A      dist: %7B%0A        files: %7B%0A          'dist/m.jquery.js': 'src
 /m.j
@@ -339,24 +339,34 @@
 .jquery.js'%0A
+        %7D%0A
       %7D%0A    
@@ -422,16 +422,60 @@
 ncat');%0A
+  grunt.loadNpmTasks('grunt-contrib-copy');%0A
   %0A  // 
@@ -598,18 +598,26 @@
 ', %5B'concat'
+, 'copy'
 %5D);%0A%7D;

Set up a copy task.