Index: Gruntfile.js
===================================================================
--- Gruntfile.js	(revision 29711)
+++ Gruntfile.js	(working copy)
@@ -293,7 +293,7 @@
 
 					// Don't filter when no target folder is specified
 					if ( ! dir ) {
-						return true;
+						grunt.fail.fatal('No plugin directory specified, use --dir=foldername');
 					}
 
 					dirpath = dirpath.replace( /\\/g, '/' );
@@ -351,6 +351,38 @@
 					'!wp-includes/js/underscore.min.js',
 					'!wp-includes/js/zxcvbn.min.js'
 				]
+			},
+			plugins: {
+				expand: true,
+				cwd: SOURCE_DIR + 'wp-content/plugins',
+				dest: BUILD_DIR,
+				ext: '.min.js',
+				src: [
+					'**/*.js',
+					'!**/*.min.js'
+				],
+				// Limit Uglify's run to a single specified plugin directory:
+				//
+				//    grunt uglify:plugins --dir=foldername
+				//
+				filter: function( dirpath ) {
+					var index, dir = grunt.option( 'dir' );
+
+					// Don't filter when no target folder is specified
+					if ( ! dir ) {
+						grunt.fail.fatal('No plugin directory specified, use --dir=foldername');
+					}
+
+					dirpath = dirpath.replace( /\\/g, '/' );
+					index = dirpath.lastIndexOf( '/' + dir );
+
+					// Match only the folder name passed from cli
+					if ( -1 !== index ) {
+						return true;
+					}
+
+					return false;
+				}
 			}
 		},
 		concat: {
