diff --git a/bakery/management/commands/build.py b/bakery/management/commands/build.py
index <HASH>..<HASH> 100644
--- a/bakery/management/commands/build.py
+++ b/bakery/management/commands/build.py
@@ -1,5 +1,6 @@
 import os
 import six
+import glob
 import shutil
 from django.conf import settings
 from optparse import make_option
@@ -77,6 +78,20 @@ settings.py or provide a list as arguments."
                 verbosity=0
             )
             target_dir = os.path.join(self.build_dir, settings.STATIC_URL[1:])
+            # walk through the static directory, 
+            # and match for any .css or .js file
+            for (dirpath, dirnames, filenames) in walk(target_dir):
+                pattern = re.compile('(\.css|\.js|\.json)$')
+                for filename in filenames:
+                    m = pattern.search(filename)
+                    if m:
+                        f_path = os.path.join(dirpath, filename)
+                        f_in = open(f_path, 'rb')
+                        f_out = gzip.open('%s.gz' % f_path, 'wb', mtime=0)
+                        f_out.writelines(f_in)
+                        f_out.close()
+                        f_in.close()
+        
             if os.path.exists(settings.STATIC_ROOT) and settings.STATIC_URL:
                 shutil.copytree(settings.STATIC_ROOT, target_dir)
             # If they exist in the static directory, copy the robots.txt
dirty attempt at regex searching for and gzipping static files