Hi
The procedure is quite simple.
Firstly : right click on the taskbar and configure.
Then you have to tick show only the actual desktop's tasks. (translation from french)
An issue appear since the first beta of kde 4.3. When you change the desktop with the previous option enabled, the order of the tasks will be lost.