diff --git a/gitlab/build.sh b/gitlab/build.sh
index 6d45957122a54ece216884168058bb796aed9c73..6e94d1e7c46e32bce8142a50822d391fd317a1da 100644
--- a/gitlab/build.sh
+++ b/gitlab/build.sh
@@ -1,12 +1,19 @@
 #!/usr/bin/env bash
-# Wed 21 Sep 2016 13:08:05 CEST
+# Tue 13 Dec 2016 17:36:51 CET
+
+# Parameters:
+#
+#   $1: database name to run the download command for. If unset, use "all"
+#
 
 source $(dirname ${0})/functions.sh
 
 run_cmd ./bin/buildout
 
+dbname=${1:-all}
+
 if [ -x ./bin/bob_dbmanage.py ]; then
-  run_cmd ./bin/bob_dbmanage.py all download --force;
+  run_cmd ./bin/bob_dbmanage.py ${dbname} download --force;
 fi
 
 if [ -d ./doc ]; then