I guess that we already know about https://github.com/gruntjs/grunt-contrib-concat module. You just need two different tasks. What about this:
grunt.initConfig({
concat: {
common: {
src: ['src/events/**/*.common.js', 'src/handlers/**/*.common.js'],
dest: 'dist/vents/commonEvents.js'
},
nocommon: {
src: ['src/events/**/*.js', 'src/handlers/**/*.js', '!src/events/**/*.common.js', '!src/handlers/**/*.common.js'],
dest: 'dist/vents/filename.js'
}
}
});