diff --git a/build.sh b/build.sh
index 4553e9dd7380c3b0118bedb73972565393759f36..1f2bbd265486f15af5c84bdcc4cd4bcb3afc91dd 100755
--- a/build.sh
+++ b/build.sh
@@ -152,13 +152,17 @@ check_prerequisites()
     # required toolchain
     TOOLS="automake autoconf m4 cmake wget svn tar patch gcc g++ ld libtool libtoolize ar lex yacc pkg-config hg"
 
+    MISSING=""
     for tool in $TOOLS; do
         if ! ( type $tool >/dev/null 2>&1 ); then
-            echo "Missing \"$tool\" which is a required tool!" | tee -a $LOGFILE
-            echo "Required are: $TOOLS" | tee -a $LOGFILE
-            return 1
+            MISSING+="${tool} "
         fi
     done
+    if [[ -n $MISSING ]]; then
+        echo "Missing required tools: $MISSING" | tee -a $LOGFILE
+        return 1
+    fi
+
 
     return 0
 }