Use unicornscan to quickly scan all open ports, and then pass the open ports to nmap for detailed scans.