diff --git a/yarn-project/bootstrap.sh b/yarn-project/bootstrap.sh
index c68692ef7c4..c9ebca3a9e1 100755
--- a/yarn-project/bootstrap.sh
+++ b/yarn-project/bootstrap.sh
@@ -18,7 +18,7 @@ if [ "$CMD" = "clean" ]; then
 fi
 
 # Generate l1-artifacts before creating lock file
-(cd l1-artifacts && yarn generate)
+(cd l1-artifacts && bash ./scripts/generate-artifacts.sh)
 
 if [ "$CMD" = "full" ]; then
   yarn install --immutable