diff --git a/bin/compile b/bin/compile
index 69ea53fb391f46d94c8adb2a2ea447836e644fb1..868d3559c93bf22a94854384c75f28864937a2a6 100755
--- a/bin/compile
+++ b/bin/compile
@@ -152,7 +152,7 @@ bpwatch stop restore_cache
 
 # Cleanup what's in the cache.
 cd $CACHED_DIR
-rm !($WHITELISTED_CACHE_ENTRIES)
+rm !(python|python-stack|python-version|venv|vendor)
 cd $BUILD_DIR
 
 set +e