diff --git a/gitlab-build.sh b/gitlab-build.sh
index d2a8fe2777884209937ca64726097e84da11a2a0..e4dcb7d8d0e7c66f16fe3bbd73317717c1096dce 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -39,7 +39,7 @@ HERE
 	echo "**** Updating $PAGES_URL/$VER_DIR ****"
 
 	sphinx-build -j auto -b html . public/$VER_DIR/
-	sphinx-build -M latexpdf . public/$VER_DIR/
+	sphinx-build -j auto -M latexpdf . public/$VER_DIR/
 	pdfcpu optimize public/$VER_DIR/latex/beagleboard-docs.pdf
 	mv public/$VER_DIR/latex/beagleboard-docs.pdf public/$VER_DIR/
 	rm -rf public/$VER_DIR/latex