Exactly, I started to draw it out as it's so hard to explain. But, how you drew it is how it's done. Connect all the whites together, all the grounds together, and then attach the black from your light to one screw of the switch, and then use a short black wire on the other screw and attach the rest of the blacks together like you have drawn.
In your picture, your light should have a ground which of course they all get tied together. If your switch box is plastic, you also need a short piece of ground wire from the switch linking it to all the other grounds. Usually, you have more grounding wires than any other with plastic boxes.
My cute picture is